const Learn = () => import( /* webpackChunkName: "learn-page" */ '@views/learn/index');

const LEARN_ROUTERS = [
    //学习 
    {
        path: '/learn',
        name: 'learn',
        component: Learn,
        meta: { requireAuth: true, index: 0, navShow: true, title: '学习' },
    },
    {
        path: '/learn/learningTopics',
        name: 'learningTopics',
        component: () => import('@views/learn/specialTopic/learningTopics'),
        meta: { requireAuth: true, index: 1, title: '学习专题' },

    },
    {
        path: '/learn/videoLearning',
        name: 'videoLearning',
        component: () => import('@views/learn/specialTopic/videoLearning'),
        meta: { requireAuth: true, index: 1, title: '视频学习' },

    },
    {
        path: '/learn/audioLearning',
        name: 'audioLearning',
        component: () => import('@views/learn/specialTopic/audioLearning'),
        meta: { requireAuth: true, index: 1, title: '音频学习' },

    },
    {
        path: '/learn/note',
        name: 'note',
        component: () => import('@views/learn/specialTopic/note'),
        meta: { requireAuth: true, index: 1, title: '学习笔记' },
    },
    {
        path: '/learn/ranking',
        name: 'ranking',
        component: () => import('@views/learn/specialTopic/ranking'),
        meta: { requireAuth: true, index: 1, title: '学习排行榜' },
    },
    {
        path: '/learn/studyPlan',
        name: 'studyPlan',
        component: () => import('@views/learn/specialTopic/studyPlan'),
        meta: { requireAuth: true, index: 1, title: '学习计划' },

    },
    {
        path: '/learn/subscription',
        name: 'subscription',
        component: () => import('@views/learn/specialTopic/subscription'),
        meta: { requireAuth: true, index: 1, title: "我的订阅" },
    },
    {
        path: '/learn/badge',
        name: 'badge',
        component: () => import('@views/learn/specialTopic/badge'),
        meta: { requireAuth: true, index: 1, title: "我的徽章" },
    },
    {
        path: '/learn/onlineExam',
        name: 'onlineExam',
        component: () => import('@views/learn/specialTopic/onlineExam'),
        meta: { requireAuth: true, index: 1, title: "在线考试" },
    },
    {
        path: '/learn/answerGuide',
        name: 'answerGuide',
        component: () => import('@views/learn/specialTopic/answerGuide'),
        meta: { requireAuth: true, index: 1, title: "答题引导" },
    },
    {
        path: '/learn/answer',
        name: 'answer',
        component: () => import('@views/learn/specialTopic/answer'),
        meta: { requireAuth: true, index: 1, title: "答题" },
    },
    {
        path: '/learn/answerStatus',
        name: 'answerStatus',
        component: () => import('@views/learn/specialTopic/answerStatus'),
        meta: { requireAuth: true, index: 1, title: "答题状况" },
    },
    {
        path: '/learn/answerStatus2',
        name: 'answerStatus2',
        component: () => import('@views/learn/specialTopic/answerStatus2'),
        meta: { requireAuth: true, index: 4, title: "答题状况" },
    },
    {
        path: '/learn/testScore',
        name: 'testScore',
        component: () => import('@views/learn/specialTopic/testScore'),
        meta: { requireAuth: true, index: 1, title: "考试成绩" },
    },
    {
        path: '/learn/videoInfo',
        name: 'videoInfo',
        component: () => import('@views/learn/specialTopic/videoInfo'),
        meta: { requireAuth: false, index: 2, title: "视频学习" },
    },
    {
        path: '/learn/audioInfo',
        name: 'audioInfo',
        component: () => import('@views/learn/specialTopic/audioInfo'),
        meta: { requireAuth: false, index: 2, title: "音频学习" },
    },
    {
        path: '/learn/specialInfo',
        name: 'specialInfo',
        component: () => import('@views/learn/specialTopic/specialInfo'),
        meta: { requireAuth: false, index: 2, title: "专题学习" },
    },
    {
        path: '/learn/testScore',
        name: 'testScore',
        component: () => import('@views/learn/specialTopic/testScore'),
        meta: { requireAuth: true, index: 5, title: "考试成绩" },
    },
    {
        path: '/learn/examRank',
        name: 'examRank',
        component: () => import('@views/learn/specialTopic/examRank'),
        meta: { requireAuth: true, index: 6, title: "考试排行榜" },
    },
    {
        path: '/learn/learnData',
        name: 'learnData',
        component: () => import('@views/learn/specialTopic/learnData'),
        meta: { requireAuth: false, index: 6, title: "学习数据" },
    },
    {
        path: '/learn/answerAnalysis',
        name: 'answerAnalysis',
        component: () => import('@views/learn/specialTopic/answerAnalysis'),
        meta: { requireAuth: true, index: 6, title: "答题解析" },
    },
]

export default LEARN_ROUTERS

